package com.example.mes_sys.repository;

import com.example.mes_sys.po.SysRolePermissionRelationPo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Optional;

public interface SysRolePermissionRelationRepository extends JpaRepository<SysRolePermissionRelationPo, Long> {
    Optional<List<SysRolePermissionRelationPo>> findAllByRoleIdIn(List<Long> roleIdList);
}
